package com.ubb.dbms.core.fileManagers.indexFileManager;

import java.io.File;

import com.ubb.dbms.domain.xml.IndexFile;
import com.ubb.dbms.domain.xml.Table;

public interface IndexFileManager {
	static final String INDEXES_FOLDER_NAME = "Indexes" + File.separator;
	static final String INDEX_FILES_EXTENSION = ".ind";
	static final String ROWS_STATES_INDEX_FILES_EXTENSION = ".rsind";
	static final int T = 6;
	static final int HEADER_LENGTH = 4;
	
	public void insertKey(Object key, int dataFileRowNr, String usesDatabase, Table table, IndexFile indexFile);

	void createFileForIndex(IndexFile indexFile, Table table, String usesDatabase);
}
